<?php
define('GbIncl', TRUE);
include "../spm-itats/includes/config.php";
if (
	$_GET['p']=='000' OR 
	$_GET['p']=='100' OR
	$_GET['p']=='200' OR
	$_GET['p']=='210' OR
	$_GET['p']=='220' OR
	$_GET['p']=='230' OR
	$_GET['p']=='300' OR
	$_GET['p']=='310' OR
	$_GET['p']=='320' OR
	$_GET['p']=='400' OR
	$_GET['p']=='410' OR
	$_GET['p']=='500' OR
	$_GET['p']=='510' OR
	$_GET['p']=='600' OR
	$_GET['p']=='610'){
?><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="description" content=""/>
<meta name="keywords" content="" />
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="includes/css/style.css" media="screen" />
<link href="includes/css/demo.css" rel="stylesheet">
<link href="includes/css/style-slider.css" rel="stylesheet">
<title>SPM-ITATS</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
<?php //site-wrapper// ?>


<div id="site-wrapper">
<?php include('menu.php')?>
    <div class="main" id="main-two-columns">
        <div class="left" id="main-gerak">
            <div class="section">
                <div class="section-content">
                    <font size="4.5em" color="#3b5998"><marquee><b>SELAMAT DATANG di SATUAN PENJAMIN MUTU INSTITUT TEKNOLOGI ADHI TAMA SURABAYA</b></marquee></font>
                </div>
            </div>
        </div>
        <div class="right" id="main-cari">
           <?php include 'cari.php' ?>
        </div>
    </div>
    <div class="clearer"></div>
    <div class="main" id="main-two-columns">
        <div class="left" id="sidebar">
            <?php include('dikti.php')?><br />
        </div>
        <div class="left" id="main-content">
        <?php
        $CONTENT= mysql_query("SELECT * FROM MENU_CONTENT_SPM WHERE ID_MENS='$_GET[p]'");
        while ($DATACONTENT=mysql_fetch_array($CONTENT)){
        if ($_GET['p']==$DATACONTENT['ID_MENS']){
            require_once "$DATACONTENT[ISI_CONMS]";
            }else{
                require_once('block.php');	
            }?>
        <br/>
        <?php } ?>
        </div>
        <div class="right" id="sidebar">
            <?php include ('akun.php')?>
            <?php include('polling.php') ?>
        </div>
    </div>
    <div class="clearer"></div>
    <br /><br />
    <div id="footer">
        <?php include('footer.php') ?>
    </div>
</div>
<?php //site-wrapper// ?>
<?php }else {?>
		<meta http-equiv="refresh" content="0;url=block.php" />
	<?php } ?>
<?php
/*
// proteksi halaman //
<?php
if(!defined('GbIncl')){
	echo "AKSES DITOLAK. Tunggu Beberapa Saat";
	?>
    <meta http-equiv="refresh" content="0;url=index.php" />
    <?php
	}else{
	?>

<?php } ?>
//

// demo.css //

// /demo.css //
*/
?>
